SftTree/OCX 7.0

SftTree.ItemPictureAlign Property

Softel vdm, Inc.

Defines whether item graphics are aligned with higher level cells.

Deprecated - Provided for compatibility with earlier versions only - Use Items.ItemImageAlign instead

Syntax       

Get

VB.NET

Boolean = object.ItemPictureAlign  As Boolean

VB

Boolean = object.ItemPictureAlign  As Boolean

C#.NET

bool Boolean = object.ItemPictureAlign;

VC++

VARIANT_BOOL Boolean = object->ItemPictureAlign;
VARIANT_BOOL Boolean = object->GetItemPictureAlign();

C

HRESULT object->get_ItemPictureAlign(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.ItemPictureAlign   : WordBool;

Put

VB.NET

object.ItemPictureAlign = Boolean  As Boolean

VB

object.ItemPictureAlign = Boolean  As Boolean

C#.NET

bool object.ItemPictureAlign = Boolean;

VC++

VARIANT_BOOL object->ItemPictureAlign = Boolean;
void object->PutItemPictureAlign(VARIANT_BOOL Boolean);

C

HRESULT object->put_ItemPictureAlign(VARIANT_BOOL Boolean);

Delphi

object.ItemPictureAlign := Boolean   : WordBool;

object

A SftTree object.

Boolean

Defines whether item graphics are aligned with higher level cells.

Boolean

Description

True

Item graphics of items at a lower level are aligned with the cell of the immediate parent level.

False

Item graphics are not aligned, resulting in a still indented, but narrower look.  The width of the indentation is determined by the width of the expand/collapse button bitmaps, the width of the item pictures and the default font used for the tree control.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.ItemImageAlign instead

The ItemPictureAlign property defines whether item graphics are aligned with higher level cells.

In a variable height tree control, item graphics may be of varying widths and heights.  If item bitmaps are smaller than the largest item bitmap used, the item bitmaps are horizontally centered within the space available for item bitmaps.  This results in (smaller) item bitmaps not aligned with the cells of the parent level.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com